home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
196_01
/
bit_np01.doc
< prev
next >
Wrap
INI File
|
1985-11-13
|
1KB
|
49 lines
[BIT-NP01.DOC of JUGPDS Vol.19]
Examples of Answers to Some BIT Nano-Pico Quizes
by Toshiya Ohta (No.14)
June 13, 1985
These programs were published in the Nano-Pico Quize Columns of
BIT (The computer science magazine, Kyoritsu Publ.). Source programs were
written in Fortran-80. The Japanese documentation will be appeared in
JUG-CP/M Newsletter Vol.2, No.4. November, 1985.
1. BIT78031
Language: Fortran-80, Programmer: S. Kihira
Required memory: 10K
I/O: Console [O]
Source: bit, March 1978.
Question: Find combinations of four integers (1,2,6,9) which will
result in between 70 and 90 (both included) by arthmetic.
Example: 77 = (9 + 2)*(6 + 1)
2. BIT78032
Language: Fortran-80, Programmer: H. Nozaki
Required memory: 8K
I/O: Console [O]
Source: bit, March 1978. (A modified version is in bit, July 1978.)
Q1: Make the table for the function:
g(n) = 2**(log n), 1 <= n =<105.
Q2: Find g(52), g(53), and g(105).
Note by T.O.: Exact solution for Q2 is not possible by Fortran-80.
3. BIT78061
Language: Fortran-80, Programmer: S. Hitotsumatsu
Required memory: 8K
I/O: FORT05.DAT [I] sequntial
Console [O]
Source: bit, June 1978.
Q1: Solve Four-color problem by Tate's algorithm.